# -*- coding:utf-8 -*-

import models

from google.appengine.ext.webapp import template

from google.appengine.ext.db import djangoforms


class BookForm(djangoforms.ModelForm):
    class Meta:
        model = models.Book
        exclude = ['user']

class AuthorForm(djangoforms.ModelForm):
    class Meta:
        model = models.Author
        exclude = ['user']
        
class AccountForm(djangoforms.ModelForm):
    class Meta:
        model = models.Account
        exclude = ['user']

class CommentForm(djangoforms.ModelForm):
    class Meta:
        model = models.Comment
        exclude = ['user']